package com.shengbangtec.controller;


import com.shengbangtec.service.TBackSalaryClueService;
import com.shengbangtec.service.TBackSalaryLawService;
import com.shengbangtec.util.JsonData;
import com.shengbangtec.vo.CaseManagerVO;
import com.shengbangtec.vo.ClueInfoForMapVO;
import enums.BizCodeEnum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author LBY
 * @since 2021-08-16
 */
@RestController
@RequestMapping("/tBackSalaryLaw")
public class TBackSalaryLawController {

    @Autowired
    private TBackSalaryLawService tBackSalaryLawService;

    /**
     * 国务院转办案件管理
     * @return
     */
    @GetMapping("caseManager")
    public JsonData caseManager(){
        List<CaseManagerVO> caseManagerVO = tBackSalaryLawService.caseManager();
        return JsonData.buildSuccess(caseManagerVO, BizCodeEnum.OPERATION_SUCCESS.getCode(),BizCodeEnum.OPERATION_SUCCESS.getMessage());
    }

}

